GtkFontButton: Limit the decimals shown for size
authorMatthias Clasen <mclasen@redhat.com>
Fri, 15 Aug 2014 19:09:45 +0000 (15:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Aug 2014 19:09:45 +0000 (15:09 -0400)
commit1815790bd3c9d4c275976b3fae4da1bff6308dc0
tree1c66106fcad7be7331770a75c0df86c2f1c62a9a
parenta8ed0dd4eef87dfeaa0263c115c35d74ed8019bc
GtkFontButton: Limit the decimals shown for size

It doesn't make sense to show a font size with 6 digits. Use
the same formatting we use in the font chooser widget now.

https://bugzilla.gnome.org/show_bug.cgi?id=724996
gtk/gtkfontbutton.c